package com.flyco.modules.oms.service;

import com.flyco.modules.oms.entity.OmsJddjOrderProduct;
import com.flyco.modules.oms.entity.OmsJddjOrderInvoice;
import com.flyco.modules.oms.entity.OmsJddjOrderDiscount;
import com.flyco.modules.oms.entity.OmsJddjOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 京东到家订单表
 * @Author: flyco
 * @Date:   2021-08-24
 * @Version: V1.0
 */
public interface IOmsJddjOrderService extends IService<OmsJddjOrder> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(OmsJddjOrder omsJddjOrder,List<OmsJddjOrderProduct> omsJddjOrderProductList,List<OmsJddjOrderInvoice> omsJddjOrderInvoiceList,List<OmsJddjOrderDiscount> omsJddjOrderDiscountList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(OmsJddjOrder omsJddjOrder,List<OmsJddjOrderProduct> omsJddjOrderProductList,List<OmsJddjOrderInvoice> omsJddjOrderInvoiceList,List<OmsJddjOrderDiscount> omsJddjOrderDiscountList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
